<table>
    <tbody>
        <tr class="prop">
            <td  class="name"><g:message code="dealer.serialNumber.label" default="Dealer Number" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "serialNumber")}</td>
            <td  class="name"><g:message code="dealer.name.label" default="Name" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "name")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="dealer.alias.label" default="Alias" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "alias")}</td>
            <td  class="name"><g:message code="dealer.shortcut.label" default="Shortcut" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "shortcut")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="dealer.head.label" default="Head" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "head")}</td>
            <td  class="name"><g:message code="dealer.contact.label" default="Contact" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "contact")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="dealer.approvalStatus.label" default="Approval Status" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "approvalStatus")}</td>
            <td  class="name"><g:message code="dealer.pricingMode.label" default="Pricing Mode" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "pricingMode")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="dealer.department.label" default="Department" /></td>            
            <td  class="value"><g:link controller="department" action="show" id="${dealerInstance?.department?.id}">${dealerInstance?.department?.encodeAsHTML()}</g:link></td>
            <td  class="name"><g:message code="dealer.salesMan.label" default="Sales Man" /></td>
            <td  class="value">${fieldValue(bean: dealerInstance, field: "salesMan")}</td>
        </tr>

        <tr class="prop">
            <td  class="name"><g:message code="dealer.address1.label" default="Address(1)" /></td>            
            <td  class="value" colspan="5">${dealerInstance?.address1?.encodeAsHTML()}</td>
        </tr>

        <tr class="prop">
            <td  class="name"><g:message code="dealer.address2.label" default="Address(2)" /></td>            
            <td  class="value" colspan="5">${dealerInstance?.address2?.encodeAsHTML()}</td>
        </tr>
    </tbody>
</table>
